﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using GS.DataConnection;

namespace GS.CMS.Entities
{
    public class Gallery
    {
        public DataSet GetListGallery(int pgNum)
        {
            System.Collections.Hashtable ht = new System.Collections.Hashtable();
            ht.Add("@pgNum", pgNum);
            return SqlProvider.GetDataSet("pro_gallery_list", "dsGallery", ht);
        }
        public DataTable GetGalleryByID(int GalleryID)
        {
            System.Collections.Hashtable ht = new System.Collections.Hashtable();
            ht.Add("@GalleryID", GalleryID);
            return SqlProvider.GetTable("pro_gallery_get_by_id", "dtGallery", ht);
        }
    }
}
